package com.zm.dao;

import com.zm.pojo.BackendUser;
import org.apache.ibatis.annotations.Param;

public interface BackendUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BackendUser record);

    int insertSelective(BackendUser record);

    BackendUser selectByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(BackendUser record);
    int updateByPrimaryKey(BackendUser record);
    /**
     * 超级管理员登录
     * @param usercode
     * @param userpassword
     * @return String
     */
    BackendUser selectLogin(@Param("usercode") String usercode,
                       @Param("userpassword")String userpassword);
}